package com.zsxb.crm.mapper;

import com.zsxb.crm.pojo.SysStatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DictMapper {
    /**
     * 显示状态 显示/隐藏
     */
    @Select("select * from sys_status where dict_code = 4 or dict_code = 5")
    List<SysStatus> showOrHide();

    /**
     * 菜单状态 启用/禁用
     */
    @Select("select * from sys_status where dict_code = 6 or dict_code = 7")
    List<SysStatus> normalOrDisable();
}
